<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>learn react</title>
    <script src="js/react.js"></script>
    <script src="js/react-dom.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
  </head>
  <body>
    <div id="example"></div>
    <script type="text/babel">
      var arr = [
        <h1>Hello World</h1>,
        <h2>React is cool</h2>
      ]
      ReactDOM.render(
        <div>
        {arr}
        </div>,
        document.getElementById('example')
      )
    </script>
  </body>
</html>
